package com.mingqijia.gassafety.webserver.service;

import com.mingqijia.gassafety.db.entity.HistoryAlarm;
import com.mingqijia.gassafety.shared.utils.commonUtils.PageUtil;
import com.mingqijia.gassafety.webserver.request.DisposeRecordRequest;
import com.mingqijia.gassafety.webserver.request.DisposeRequest;
import com.mingqijia.gassafety.webserver.request.WarningDataListRequest;
import com.mingqijia.gassafety.webserver.response.DisposeRecordResponse;
import com.mingqijia.gassafety.webserver.response.WarningDataResponse;

import java.util.List;

public interface WarningDataService {

    PageUtil<WarningDataResponse> warningDataList(WarningDataListRequest request);

    void dispose( DisposeRequest request);

     void handleWarningData(HistoryAlarm historyAlarm, int type) ;

    PageUtil<WarningDataResponse> warningHistoryList(WarningDataListRequest request);

    PageUtil<DisposeRecordResponse> getRecordList(DisposeRecordRequest request);
}
